﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Core.Domain.Model
{
    /// <summary>
    /// 操作日志表
    /// </summary>
    [Table("Journal")]
    public class Journal
    {
        /// <summary>
        /// 操作日志ID
        /// </summary>
        [Key]
        public int OLid { get; set; }
        /// <summary>
        ///内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public string Classify { get; set; }
        /// <summary>
        /// 模块
        /// </summary>
        public string Module { get; set; }
        /// <summary>
        /// 是否异常
        /// </summary>
        public bool Whether { get; set; }
        /// <summary>
        /// 应用名称
        /// </summary>
        public string Use { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Operatorname { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createtimes { get; set; } = DateTime.Now;
    }
}
